package com.example.demo.common;

import lombok.Data;
import org.springframework.stereotype.Component;

@Component
public class RequestAjax {
    private int code; //状态码
    private String mas; // 状态码描述
    private Object data; // 返回数据

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMas() {
        return mas;
    }

    public void setMas(String mas) {
        this.mas = mas;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }
}
